package com.example.Vehcile;

public class Bus extends Vehicle {
    public Bus(String name, String color, int age, double price, double seat) {
        super(name, color, age, price);
        this.seat = seat;
    }

    public double seat;//座位
    public void work(){
        System.out.println("大巴可以载乘客");
    }
}
